show data spanning-tree

This command displays the status and parameters of Spanning Tree Protocol including system status and all the relevant interfaces.

Syntax

show data spanning-tree 

Command

Description

info <Slot/Port>

Displays only system Spanning Tree information, per Slot/Port.

interface-info

{fastethernet|gigabitethernet} <Slot/Port>

Displays spanning-tree information per Fast Ethernet interface or per Gigabit Ethernet interface, per Slot/Port.

Command Mode

Basic User and Privileged User

Example

This example displays the status and parameters of STP per Fast Internet interface, Slot 1, Port 1:

show data spanning-tree interface-info fastethernet 1/1
        Interface 1/1 Spanning-tree Status
        ----------------------------------
        In this Interface the spanning tree is Disabled!!

This example displays the status and parameters of STP per Gigabit Ethernet interface, Slot 0, Port 0:

show data spanning-tree interface-info gigabitethernet 0/0
        No spanning tree on this interface